package org.hydrakyoufeng.stuplatform.service;

import org.hydrakyoufeng.stuplatform.dto.UserDTO;
import org.hydrakyoufeng.stuplatform.dto.UserListDTO;
import org.hydrakyoufeng.stuplatform.utils.ResultEntity;
import org.hydrakyoufeng.stuplatform.vo.UserListVO;
import org.springframework.http.ResponseEntity;

import java.util.List;

public interface UserService {

    // 查询用户列表
    ResultEntity queryList(UserListDTO userListDTO) throws Exception;

    // 插入用户
    ResultEntity insert(UserDTO userDTO) throws Exception;

    // 更新用户
    ResultEntity update(UserDTO userDTO) throws Exception;

    // 删除用户
    ResultEntity delete(Integer id) throws Exception;

    // 获取用于导出Excel的用户列表数据
    List<UserListVO> getExcel(UserListDTO userListDTO) throws Exception;

}
